
/*

DEPENDENCIES:
-------------
Gimme.Style
-------------


IN THIS FILE:
-------------
ext.get_relative_pos
-------------

*/

(function()
{
	var getRelativePos = Gimme.Style.get_relative_pos;
	Gimme.ext.get_relative_pos = function(n)
	{
		var elem = this[n || 0];
		return elem && getRelativePos(elem) || { x: 0, y: 0 };
	};
	//[AltSyntax]Gimme.ext.getRelativePosition = Gimme.ext.get_relative_pos;
})();